package dao;

import domain.Employee;

import java.util.List;

public interface PayrollDatabase {
    Employee getEmployee(int empId);
    void addEmployee(Employee employee);
    void clear();

    void deleteEmployeeById(int empid);

    void addUnionMember(int memberId, Employee employee);

    Employee getEmployeeByMemberId(int memberId);

    void deleteUnionMember(int memberId);

    List<Employee> getAllEmployees();
}
